package com.google.code.swingonfire.component.page;

import java.awt.Component;

/**
 * The components of the {@link JPagePane} may be initialized lazy (or late). An implemantation of this class provides
 * these components. 
 * 
 * @author thred
 */
public interface JPagePaneComponentProvider
{

    /**
     * Returns the component at the specified index
     * 
     * @param index the index
     * @return the component, null if not defined
     */
    Component getPage(int index);
    
}
